Skip to main content

All Units

All Advance C Units PDfs

📥 Download Unit 1

📥 Download Unit 2

📥 Download Unit 3

📥 Download Unit 4


Unit 1

I. User-defined Functions

  • Introduction
  • Need for User define function
  • Arguments and return types
    • Classifications of function using arguments and return types
  • Nesting of functions
  • Recursion
  • Functions with arrays
  • The scope and lifetime of variables in functions

II. Pointers

  • Introduction
  • Need for pointers
  • Pointer variables
  • Pointer arithmetic
  • Pointers and arrays
  • Pointers and functions
  • Pointers and structures
  • Dynamic memory allocation
  • Pointer to pointer

Unit 2

I. Structures & Unions

  • Introduction
  • Defining a structure
  • Giving values to members
  • Structure initialization
  • Copying and Comparison of structures variables
  • Arrays of structures
  • Arrays within structures
  • Structures within Structures
  • Structures and functions
  • Unions
  • Size of structures
  • Bit fields

Unit 3

I. Pointers

  • Introduction
  • Understanding pointers
  • Advantage of using pointer
  • Accessing the address of a variable
  • Declaring and initializing pointers
  • Accessing a variable through pointer
  • Pointer expressions
  • Pointer increments and scale factor
  • Pointers and arrays
  • Pointers and character strings
  • Pointers and Functions
  • Pointers and structures

II. Dynamic Memory Allocation and Linked List

  • Introduction
  • Dynamic Memory allocation
  • Memory allocation functions (mallo[BC[BCA, Cyber Security]yber Security]alloc)
  • Linked List

Unit 4

I File Management in C

Introduction

  • Creating and opening a file
  • Closing a file
  • Input / Output operations on files
  • Error handling during I/O operations
  • Random access files
  • Command line arguments

II The Preprocessors

Introduction

  • Types of Preprocessors Directives

III Macro

Introduction

  • Format of Macro
  • Simple Macro Substitution
  • Argument
  • Macro Substitution
  • Nested Macro Substitution
  • File inclusion
  • Compiler control directives